int TimeIsValid(int hour, int minute, double second){
    return hour>=0&&hour<24&&minute>=0&&minute<60&&second>=0&&second<60;
}
